/*
* @author dumeng
*/
'use strict'
import request from '@/utils/request'

/**
 * 获取课件的分类树
 */
export function coursewareTypeTree(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/learnClassify/getClassifyTree',
    method: 'POST',
    data
  })
}
/**
 * 获取课件的列表
 */
export function queryPagecoursewarePage(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/subject/queryPage',
    method: 'POST',
    data
  })
}
/**
 * 字典
 */
export function getDictByCode(dictCode) {
  return request({
    baseURL: '/API-APP/',
    url: '/app/sysDictionary/getDictByCode',
    method: 'POST',
    data: {
      dictCode
    }
  })
}

